package net.web.dto;

import net.melon.page.pojo.ModuleLink;

public class ParamDto {
	
	private String id;//ID
	
	private String value;//内容
	
	private String url;//连接
	
	private int order;//排序
	
	public ParamDto(String id, String value, String url,int order) {
		this.id = id;
		this.value = value;
		this.url = url;
		this.order = order;
	}
	
	public ParamDto(ModuleLink link) {
		this.id = String.valueOf(link.getId());
		this.value = link.getValue();
		this.url = link.getUrl();
		this.order = link.getOrder();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}
	
}
